package com.um.jdy.common.baofu.entity.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.um.springboot.starter.orm.entity.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 宝付账号流程表
 * @TableName baofu_user
 */
@TableName(value ="baofu_account_details")
@Data
public class BaofuAccountDetails extends BaseEntity {
    //主键id
    @TableId
    private String baofuAccountDetailsId;
    //佣金表id
    private String commissionId;
    //宝付客户编号
    private String contractNo;
    //佣金(分)
    private Integer commission;
    //分佣比例
    private Integer commissionRate;
    //订单id
    private String chargeOrderId;
    //请求宝付流水号
    private String transSerialNo;
    //原订单编号
    private String outTradeNo;
    //订单最初交易金额（分）
    private Integer orderAmount;
    //类型（charge:充电，monthCard:月卡：fire:消防服务）
    private String type;
    //创建时间
    private Date createTime;
    //
    private Integer isDelete;
    //收入支出类型：Income-收入，Expend-支出
    private String accountType;
}
